

package com.eshop.we.business;

import com.baomidou.mybatisplus.plugins.Page;
import com.eshop.we.book.dto.BookDto;
import com.eshop.we.book.entity.Book;

import java.util.List;

/**
 * @author wangzhanguo
 * @create 2018-06-05 9:03
 **/
public interface BookBusiness extends BaseBusiness<Book> {

    Page selectBookPage(Page<BookDto> page, String name,String bookName, String startDate,String endDate);

    /**
     * 搜索图书
     * @param book
     * @return
     */
    List<Book> searchBook(Book book);
}
